<?php
/*
 * referential integrity rules
 */
$aRefIntegr = array();
$xPar = 'attribute';
$aRefIntegr[$xPar]['key'] = array('entity','attribute');
$aRefIntegr[$xPar]['chi']['entry_point_rule_attribute'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['subtyping'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['subtyping'][1]['key'] = array('supertype_entity','discriminating_attribute');
$aRefIntegr[$xPar]['chi']['relationship_key'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['relationship_key'][1]['key'] = array('parent_entity','parent_attribute');
$aRefIntegr[$xPar]['chi']['relationship_key'][2]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['relationship_key'][2]['key'] = array('child_entity','child_attribute');
$aRefIntegr[$xPar]['chi']['domain'][1]['opz'] = 'Y';
$aRefIntegr[$xPar]['chi']['domain'][1]['key'] = array('lookup_entity','lookup_attribute');
$aRefIntegr[$xPar]['chi']['layout_field'][1]['opz'] = 'Y';
$aRefIntegr[$xPar]['chi']['pu_attribute'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['entry_point_attribute'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['com_rule_attribute'][1]['opz'] = 'N';

$xPar = 'data_area';
$aRefIntegr[$xPar]['key'] = array('data_area');
$aRefIntegr[$xPar]['chi']['subject_area'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['data_area_doc'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['entity'][1]['opz'] = 'N';

$xPar = 'domain';
$aRefIntegr[$xPar]['key'] = array('domain');
$aRefIntegr[$xPar]['chi']['attribute'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['domain_value'][1]['opz'] = 'N';

$xPar = 'entity';
$aRefIntegr[$xPar]['key'] = array('entity');
$aRefIntegr[$xPar]['chi']['subtyping'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['subtyping'][1]['key'] = array('supertype_entity');
$aRefIntegr[$xPar]['chi']['subtyping_code'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['subtyping_code'][1]['key'] = array('supertype_entity');
$aRefIntegr[$xPar]['chi']['subtyping_code'][2]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['subtyping_code'][2]['key'] = array('subtype_entity');
$aRefIntegr[$xPar]['chi']['pu_alias'][1]['opz'] = 'Y';
$aRefIntegr[$xPar]['chi']['subject_area_entity'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['attribute'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['relationship'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['relationship'][1]['key'] = array('parent_entity');
$aRefIntegr[$xPar]['chi']['relationship'][2]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['relationship'][2]['key'] = array('child_entity');
$aRefIntegr[$xPar]['chi']['layout_alias'][1]['opz'] = 'Y';
$aRefIntegr[$xPar]['chi']['com_rule_alias'][1]['opz'] = 'Y';

$xPar = 'entry_point';
$aRefIntegr[$xPar]['key'] = array('process_unit','entry_point');
$aRefIntegr[$xPar]['chi']['entry_point_alias'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['entry_point_rule'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['entry_point_variable'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['entry_point_attribute'][1]['opz'] = 'N';

$xPar = 'entry_point_alias';
$aRefIntegr[$xPar]['key'] = array('process_unit','entry_point','alias');
$aRefIntegr[$xPar]['chi']['entry_point_attribute'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['entry_point_alias_match'][1]['opz'] = 'N';

$xPar = 'entry_point_rule';
$aRefIntegr[$xPar]['key'] = array('process_unit','entry_point','name');
$aRefIntegr[$xPar]['chi']['entry_point_alias_match'][1]['opz'] = 'N';

$xPar = 'frame';
$aRefIntegr[$xPar]['key'] = array('process_unit','frame');
$aRefIntegr[$xPar]['chi']['frame_alias_match'][1]['opz'] = 'N';

$xPar = 'function';
$aRefIntegr[$xPar]['key'] = array('function');
$aRefIntegr[$xPar]['chi']['function_variable'][1]['opz'] = 'N';

$xPar = 'functional_area';
$aRefIntegr[$xPar]['key'] = array('module','functional_area');
$aRefIntegr[$xPar]['chi']['sub_module'][1]['opz'] = 'N';

$xPar = 'layout';
$aRefIntegr[$xPar]['key'] = array('layout');
$aRefIntegr[$xPar]['chi']['layout_band'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['frame'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['layout_alias'][1]['opz'] = 'N';

$xPar = 'layout_alias';
$aRefIntegr[$xPar]['key'] = array('layout','layout_alias');
$aRefIntegr[$xPar]['chi']['layout_field'][1]['opz'] = 'Y';
$aRefIntegr[$xPar]['chi']['frame_alias_match'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['layout_variable'][1]['opz'] = 'N';

$xPar = 'layout_band';
$aRefIntegr[$xPar]['key'] = array('layout','band');
$aRefIntegr[$xPar]['chi']['layout_field'][1]['opz'] = 'N';

$xPar = 'layout_variable';
$aRefIntegr[$xPar]['key'] = array('layout','layout_alias','variable');
$aRefIntegr[$xPar]['chi']['layout_field'][1]['opz'] = 'Y';

$xPar = 'library';
$aRefIntegr[$xPar]['key'] = array('library');
$aRefIntegr[$xPar]['chi']['function'][1]['opz'] = 'N';

$xPar = 'menu_group';
$aRefIntegr[$xPar]['key'] = array('module','menu_page','menu_group');
$aRefIntegr[$xPar]['chi']['menu_line'][1]['opz'] = 'Y';

$xPar = 'menu_page';
$aRefIntegr[$xPar]['key'] = array('module','menu_page');
$aRefIntegr[$xPar]['chi']['menu_group'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['menu_line'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['menu_line'][2]['opz'] = 'Y';
$aRefIntegr[$xPar]['chi']['menu_line'][2]['key'] = array('linked_module','linked_page');

$xPar = 'module';
$aRefIntegr[$xPar]['key'] = array('module');
$aRefIntegr[$xPar]['chi']['module_doc'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['menu_page'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['functional_area'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['layout'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['com_rule'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['sub_module'][1]['opz'] = 'N';

$xPar = 'process_unit';
$aRefIntegr[$xPar]['key'] = array('process_unit');
$aRefIntegr[$xPar]['chi']['pu_link'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['frame'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['pu_alias'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['process_unit_doc'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['menu_line'][1]['opz'] = 'Y';
$aRefIntegr[$xPar]['chi']['entry_point'][1]['opz'] = 'N';

$xPar = 'pu_alias';
$aRefIntegr[$xPar]['key'] = array('process_unit','alias');
$aRefIntegr[$xPar]['chi']['frame_alias_match'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['entry_point_alias'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['pu_variable'][1]['opz'] = 'N';
$aRefIntegr[$xPar]['chi']['pu_attribute'][1]['opz'] = 'N';

$xPar = 'pu_variable';
$aRefIntegr[$xPar]['key'] = array('process_unit','alias','variable');
$aRefIntegr[$xPar]['chi']['entry_point_variable'][1]['opz'] = 'N';

$xPar = 'relationship';
$aRefIntegr[$xPar]['key'] = array('parent_entity','child_entity','number');
$aRefIntegr[$xPar]['chi']['relationship_key'][1]['opz'] = 'N';

$xPar = 'sub_module';
$aRefIntegr[$xPar]['key'] = array('module','sub_module');
$aRefIntegr[$xPar]['chi']['process_unit'][1]['opz'] = 'N';

$xPar = 'subject_area';
$aRefIntegr[$xPar]['key'] = array('data_area','subject_area');
$aRefIntegr[$xPar]['chi']['subject_area_entity'][1]['opz'] = 'N';

$xPar = 'subtyping';
$aRefIntegr[$xPar]['key'] = array('supertype_entity','discriminating_attribute');
$aRefIntegr[$xPar]['chi']['subtyping_code'][1]['opz'] = 'N';

?>
